<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=MacRoman">
        <title>Status</title>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style.css" />
    </head>
    <body>
        <%@include file="header.jsp"%>
        <h1>Edit Status</h1>
        <form action="${it.id}" method="post">
            <table>
                <tr><td>Text:</td><td><textarea name="text" cols="50" rows="10">${it.text}</textarea></td></tr>
                <tr>
                    <td></td>
                    <td>
                        <button type="submit">OK</button>
                        <button type="button" onclick="sendDelete('${httpContext.uriInfo.requestUri}', 'Are you sure you want to delete this status?', '.')">Delete</button>
                        <button type="button" onclick="location.href='.'">Cancel</button>
                    </td>
                </tr>
            </table>
        </form>
        <%@include file="footer.jsp"%>
    </body>
</html>
